package com.demo.spring_demo.pojo;

import lombok.*;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    private int userId;
    private String username;
    private String nickname;
    private String password;
    private String registerDate;
    private String email;
    private boolean checked;

    public User(String username, String password,String email,String nickname) {
        this.username = username;
        this.nickname = nickname;
        this.password = password;
        this.email = email;
    }
}
